package com.jiangzhuojun.mapper;

import com.jiangzhuojun.pojo.Stockin;
import com.jiangzhuojun.pojo.StockinExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockinMapper {
    long countByExample(StockinExample example);

    int deleteByExample(StockinExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Stockin record);

    int insertSelective(Stockin record);

    List<Stockin> selectByExample(StockinExample example);

    Stockin selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Stockin record, @Param("example") StockinExample example);

    int updateByExample(@Param("record") Stockin record, @Param("example") StockinExample example);

    int updateByPrimaryKeySelective(Stockin record);

    int updateByPrimaryKey(Stockin record);
}